<template>
  <div class="navigationBar">
    <div class="navigation" v-for="(navigation,index) in navigations" :key="index">
      <div class="navigationFont">{{navigation.tname}}</div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    navigations: {
      type: Array,
      default: () => {
        return []
      }
    }
  }
}
</script>

<style lang="less" scoped>
.navigationBar {
  display: flex;
  background-color: orange;
  border-radius: 10px;
  height: 40px;
  .navigation {
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    .navigationFont {
      display: inline-block;
      color: white;
      font-weight: 700;
      line-height: 100%;
      font-size: 120%;
    }
  }
}
</style>
